package oss.ngocminh.fw.data;

public class Subscription {

	private Long id;
	private String userName;
	private String password;
	private Thread thread;
	private String lastReadPostId;

	public Subscription() {
	}
	
	public Subscription(Long id, String userName, 
			String password, Thread thread, String lastReadPostId) {
		super();
		this.id = id;
		this.userName = userName;
		this.password = password;
		this.thread = thread;
		this.lastReadPostId = lastReadPostId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getPassword() {
		return password;
	}

	public void setPassword(String password) {
		this.password = password;
	}

	public Thread getThread() {
		return thread;
	}

	public void setThread(Thread thread) {
		this.thread = thread;
	}

	public String getLastReadPostId() {
		return lastReadPostId;
	}

	public void setLastReadPostId(String lastReadPostId) {
		this.lastReadPostId = lastReadPostId;
	}

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

}
